﻿using System.Threading.Tasks;
using NP.BPMReportPlatform.Todo.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.Todo
{
    public interface ITodoService : IApplicationService
    {
        /// <summary>
        /// 查询数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<ItemsItem>> GetAllAsync(GetTodoInput input);

        /// <summary>
        /// 置顶待办
        /// </summary>
        /// <returns></returns>
        public Task<BaseTodoReturnDto> TopTodo(params TopTodoDto[] dto);


        /// <summary>
        /// 消除待办
        /// </summary>
        /// <returns></returns>
        public Task<BaseTodoReturnDto> EliminateTodo(params EliminateTodoDto[] dto);
    }
}